//
//  UserLoginHeader.swift
//  worldexchange
//
//  Created by xionghao on 2019/1/10.
//  Copyright © 2019 xionghao. All rights reserved.
//

import UIKit

class UserLoginHeader: UIView {

    @IBOutlet weak var userName: UILabel!
    @IBOutlet weak var email: UILabel!
    
    override func awakeFromNib() {
        self.qmui_borderPosition = .bottom
        self.qmui_borderColor = UIColor.qmui_color(withHexString: "#d5d5d5")
        self.qmui_borderWidth = 0.5
        
        self.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 180)
    }
    static func loadView()->UserLoginHeader{
        let userHeaderView =  Bundle.main.loadNibNamed("UserLoginHeader", owner: nil, options: nil)?.first as! UserLoginHeader
        return userHeaderView
    }
    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */

}
